package cn.tedu.reflection;/**
 * @Author 金帮嘉诚 @Date 2021-06-29 星期二 10:07
 */
/*本类用于测试暴力反射的物料类*/

/**知识点*/
public class Person {
    private String name;
    private int age;

    private Person(){

    }
    private Person(String name,int age){
        this.name=name;
        this.age=age;
    }
    private void eat(){
        System.out.println("身体是革命的本钱");
    }
    private void add(String name,int age){
        System.out.println("添加的学员"+name+"今年"+age+"岁了");
    }

}
